
package com.cmcc.mss.psp_pms_importconstructionapplysrv;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for APPLY_DETAIL complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="APPLY_DETAIL">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="DETAIL_ID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="REMARK" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="ATTACHMENTS" type="{http://mss.cmcc.com/PSP_PMS_ImportConstructionApplySrv}ATTACHMENT" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "APPLY_DETAIL", propOrder = {
    "detailid",
    "remark",
    "attachments"
})
public class APPLYDETAIL {

    @XmlElement(name = "DETAIL_ID", required = true)
    protected String detailid;
    @XmlElement(name = "REMARK", required = true, nillable = true)
    protected String remark;
    @XmlElement(name = "ATTACHMENTS")
    protected List<ATTACHMENT> attachments;

    /**
     * Gets the value of the detailid property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDETAILID() {
        return detailid;
    }

    /**
     * Sets the value of the detailid property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDETAILID(String value) {
        this.detailid = value;
    }

    /**
     * Gets the value of the remark property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getREMARK() {
        return remark;
    }

    /**
     * Sets the value of the remark property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setREMARK(String value) {
        this.remark = value;
    }

    /**
     * Gets the value of the attachments property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the attachments property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getATTACHMENTS().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ATTACHMENT }
     * 
     * 
     */
    public List<ATTACHMENT> getATTACHMENTS() {
        if (attachments == null) {
            attachments = new ArrayList<ATTACHMENT>();
        }
        return this.attachments;
    }

}
